SimdSet.opOpAssign

Inserts the given item into the set.

  1. bool insert(T item)
  2. bool opOpAssign(T item)
    struct SimdSet(T, Allocator = Mallocator)
    bool
    opOpAssign
    (
    string op
    )
    ()
    if (
    op == "~"
    )
    if (
    T.sizeof == 1 ||
    T.sizeof == 2
    ||
    T.sizeof == 4
    ||
    T.sizeof == 8
    )
  3. alias insertAnywhere = insert
  4. alias put = insert

Parameters

item T

the item to insert

Return Value

Type: bool

true if the item was inserted or false if it was already present

Meta